package com.ruoyi.aftserv.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报名方案管理对象 after_service_apply
 * 
 * @author 张艳羽
 * @date 2024-08-21
 */
public class AfterServiceApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 报名月份 */
    @JsonFormat(pattern = "yyyy年MM月")
    @Excel(name = "报名月份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyMonth;

    /** 报名截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 开启报名 */
    @Excel(name = "开启报名")
    private String isApplying;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setApplyMonth(Date applyMonth) 
    {
        this.applyMonth = applyMonth;
    }

    public Date getApplyMonth() 
    {
        return applyMonth;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setIsApplying(String isApplying) 
    {
        this.isApplying = isApplying;
    }

    public String getIsApplying() 
    {
        return isApplying;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applyMonth", getApplyMonth())
            .append("endTime", getEndTime())
            .append("isApplying", getIsApplying())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
